Package com.twilio.live.player

Types

LogLevel
Link copied to clipboard
enum LogLevel : Enum<LogLevel>
The Player SDK log levels.
Player
Link copied to clipboard
open class Player
A class to control and observe audio/video content.
PlayerException
Link copied to clipboard
class PlayerException : Exception
An error that occurred when using the Player SDK.
PlayerListener
Link copied to clipboard
interface PlayerListener
A callback interface that receives state changes and relevant events of a Player instance.
PlayerQuality
Link copied to clipboard
data class PlayerQuality
A selection of video/audio tracks from the loaded media.
PlayerState
Link copied to clipboard
enum PlayerState : Enum<PlayerState>
The Player state.
PlayerStats
Link copied to clipboard
data class PlayerStats(videoBitrate: Int, videoFramesDecoded: Int, videoFramesDropped: Int, videoFramesRendered: Int)
An object that provides live streaming stats.
PlayerView
Link copied to clipboard
A subclass of TextureView that displays the Live stream media content.
TimedMetadata
Link copied to clipboard
data class TimedMetadata
Data received by the Player from the stream source at a particular time during playback.
VideoDimensions
Link copied to clipboard
data class VideoDimensions
Represents the dimensions of a video stream.

Properties

ACCESS_TOKEN_INVALID_EXCEPTION
Link copied to clipboard
const val ACCESS_TOKEN_INVALID_EXCEPTION: Int = 20101
PLAYBACK_AUTHORIZATION_ERROR_EXCEPTION
Link copied to clipboard
const val PLAYBACK_AUTHORIZATION_ERROR_EXCEPTION: Int = 56001
PLAYBACK_INVALID_DATA_EXCEPTION
Link copied to clipboard
const val PLAYBACK_INVALID_DATA_EXCEPTION: Int = 56002
PLAYBACK_INVALID_PARAMETER_EXCEPTION
Link copied to clipboard
const val PLAYBACK_INVALID_PARAMETER_EXCEPTION: Int = 56003
PLAYBACK_INVALID_STATE_EXCEPTION
Link copied to clipboard
const val PLAYBACK_INVALID_STATE_EXCEPTION: Int = 56004
PLAYBACK_MEDIA_ERROR_EXCEPTION
Link copied to clipboard
const val PLAYBACK_MEDIA_ERROR_EXCEPTION: Int = 56000
PLAYBACK_NETWORK_ERROR_EXCEPTION
Link copied to clipboard
const val PLAYBACK_NETWORK_ERROR_EXCEPTION: Int = 56005
PLAYBACK_NETWORK_IOERROR_EXCEPTION
Link copied to clipboard
const val PLAYBACK_NETWORK_IOERROR_EXCEPTION: Int = 56006
PLAYBACK_NO_SOURCE_EXCEPTION
Link copied to clipboard
const val PLAYBACK_NO_SOURCE_EXCEPTION: Int = 56010
PLAYBACK_NOT_SUPPORTED_EXCEPTION
Link copied to clipboard
const val PLAYBACK_NOT_SUPPORTED_EXCEPTION: Int = 56009
PLAYBACK_STREAM_NOT_AVAILABLE_EXCEPTION
Link copied to clipboard
const val PLAYBACK_STREAM_NOT_AVAILABLE_EXCEPTION: Int = 56007
PLAYBACK_TIMEOUT_EXCEPTION
Link copied to clipboard
const val PLAYBACK_TIMEOUT_EXCEPTION: Int = 56011
const val PLAYBACK_TOO_MANY_STREAMING_REQUESTS_EXCEPTION: Int = 56008